public abstract class Approver {
    protected Approver next;
    protected String name;

    public Approver(String name) {
        this.name = name;
    }

    public void setSuccessor(Approver nextone) {
        this.next = nextone;
    }

    public abstract String processRequest(PurchaseRequest request);

}
